# -*- mode: snippet -*-
# name: cout
# key: cout
# --
`(progn
  (goto-char (point-min))
  (unless (re-search-forward "^using\\s-+namespace std;" nil 'no-errer)
    "std::"))
`cout << $0${1:} << "${2:\n}";